//
// Decompiled by Jadx - 389ms
//
package gc;

import fi.k;
import fn.b;
import fn.j;
import fn.x;
import fn.y;
import fo.c;
import java.util.Iterator;
import java.util.List;
import o.a;
import org.luckypray.dexkit.query.matchers.ClassMatcher;
import org.luckypray.dexkit.query.matchers.MethodMatcher;
import org.luckypray.dexkit.result.ClassData;
import org.luckypray.dexkit.result.FieldData;
import org.luckypray.dexkit.result.MethodData;
import org.luckypray.dexkit.result.MethodDataList;

@a("SOUL")
public final class bv extends x {
    public static FieldData cp;
    public static MethodDataList cq;
    public ClassData cr;
    public MethodDataList cs;

    public static void ct(int i, int i2, Object obj, String str, String str2) {
        if (i != 2 && i != 3 && i != 5 && i != 6 && i != 8 && i != 9) {
            z.dn(i2, obj, str, str2, "");
            b.k("reply_userId_" + str, 7, "", "");
            return;
        }
        if (b.e(7, "reply_userId_" + str) == null) {
            if (i != 3 && i != 6 && i != 9) {
                z.dn(i2, obj, str, str2, "");
                b.k("reply_userId_" + str, 7, "", "");
                return;
            }
            ac.dc("cn.soulapp.android.component.home.api.user.user.IUserApi", "USER", "getUserIntimacy", new k(11, new bt(str, str2, i2, obj)), new Object[]{z.do(str)});
        }
    }

    public final void a() {
        this.cr = c.n(ClassMatcher.create().usingStrings(new String[]{"收到消息 MSG, messageId="}));
        this.cs = c.z(MethodMatcher.create().declaredClass(this.cr.getName()).paramTypes(new Class[]{List.class}).returnType("void"));
        a aVar = new a(this);
        Iterator it = this.cs.iterator();
        while (it.hasNext()) {
            MethodData methodData = (MethodData) it.next();
            j.bd(methodData.getClassName(), methodData.getMethodName(), new Object[]{List.class, aVar});
        }
        j.ba("cn.soulapp.lib_input.view.AbsScreenshotItem", "bindView", new b());
        j.bd(c.t(MethodMatcher.create().usingStrings(new String[]{"收到消息 TRANS_CMD"})).getClassName(), "handleMessages", new Object[]{List.class, new c()});
        MethodData t = c.t(MethodMatcher.create().usingStrings(new String[]{"收到登出消息，被登出了id=====>  "}));
        j.bd(t.getClassName(), t.getMethodName(), new Object[]{List.class, Boolean.class, new d(c.t(MethodMatcher.create().declaredClass(y.cj("Im")).paramCount(0).returnType("cn.soulapp.imlib.msg.push.PushMsg")))});
        MethodData t2 = c.t(MethodMatcher.create().declaredClass("cn.soulapp.imlib.ChatManager").usingStrings(new String[]{"SNAPCHAT"}).paramTypes(new Class[]{List.class}));
        j.bd(t2.getClassName(), t2.getMethodName(), new Object[]{List.class, new e()});
    }
}
